﻿using System;

namespace H
{
	// Token: 0x02000257 RID: 599
	internal class H_State_Cough : H_State
	{
		// Token: 0x06000FDD RID: 4061 RVA: 0x000665B8 File Offset: 0x000647B8
		public H_State_Cough(H_Members members) : base(members)
		{
		}

		// Token: 0x06000FDE RID: 4062 RVA: 0x000665C4 File Offset: 0x000647C4
		public override void In(H_State.Message msg)
		{
			this.members.PlayAnime("Cough", 0.2f);
			this.members.param.detail |= H_Parameter.DETAIL.COUGH;
			this.members.param.mouth = H_MOUTH.FREE;
			this.members.VoiceExpression(H_Voice.TYPE.COUGH);
		}

		// Token: 0x06000FDF RID: 4063 RVA: 0x0006661C File Offset: 0x0006481C
		public override void Main()
		{
			if (this.members.CheckEndVoice())
			{
				base.ChangeState(H_STATE.COUGH_WAIT);
			}
		}

		// Token: 0x06000FE0 RID: 4064 RVA: 0x00066638 File Offset: 0x00064838
		public override void Out()
		{
		}
	}
}
